<!DOCTYPE html PUBLIC "-//w3c//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd">

<html xmlns='http://www.w3.org/1999/xhtml' xml:lang="pt-br" lang="pt-br">
	<head>
		<title>{% block titulo %}Blog dos construtores{% endblock %}</title>
		{% block meta %}
		<meta http-equiv="Content-type" content="text/html; charset = utf-8"/>
		<meta http-equiv="Content-Language" content="pt-br" />
		<meta name='keywords' content="Python,Grupo_de_oração, Construtures_da_Paz, RCC, blog"/>
		<meta name='description' content="Este é o blog dos construtores da paz" />
		{% endblock meta %}
		
		{% block feeds %}
		<link rel="alternate" type = "application/rss+xml" title = "Ultimos artigos do blog" href="/rss/ultimos/" />
		{% endblock feeds %}
		
		{% block style %}
		<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/layout.css"/>
		{% endblock style %}
		<div id='scripts'>
		{% block scripts %}
		{% endblock scripts %}
		</div>
	</head>
	
	<body>
		{% load i18n %}
		<div id="page-container">
		<div id="menu">
		{% block menu %}
		{% spaceless %}
		<ul>
			<li><a href="/">Pagina Inicial</a></li>
			<li><a href='/'>fotos</a></li>
			<li><a href="/sobre/">Sobre nós</a></li>
			<li><a href="{% url views.contato %}">Contato</a></li>
			
			{% if user.is_authenticated %}
				{% if user.is_superuser %}
					<li><a href="{% url registrar %}">{% trans "Cadastrar Usuário" %}</a></li>
					<li><a href="/admin/">{% trans "Admin" %}</a></li>
				{% endif %}
				<li><a href="{% url sair %}">{% trans "Sair" %}</a></li>
			{% else %}
			  <li><a href="{% url entrar %}">{% trans "Entrar" %}</a></li>
			{% endif %}
			
			{% if user.is_authenticated %}
		{% trans "Seja Bem Vindo" %}  {{ user.username }}
		{% endif %}
			
		</ul>
		{% endspaceless %}
		{% endblock menu %}
		</div>
		<h1>{% block h1 %}{% endblock %}</h1>
		<div id="sidebar-a">
		{% block sildebar %}{% endblock %}
		</div>
		
		<div id="content">
			<div class="corpo">
			{% block conteudo %}{% endblock %}
			</div>
		</div>
		
		<div id="rodape">Footer</div>

</div>	
	
	</body>
</html>
